package com.phospherus.customerinfo.repostory;

import com.phospherus.common.repository.BaseRepository;
import com.phospherus.customerinfo.entity.Customer;

/**
 * @author songjinlong
 * @version 1.0
 * @since 2017/12/18
 */
public interface CustomerRepository extends BaseRepository<Customer,Long> {
    Customer findByCustomerCode(String customerCode);

    Customer findByCustomerName(String customerName);

    Customer findByCustomerAbbreviation(String customerAbbreviation);

    Customer findByCustomerAddress(String customerAddress);
}
